// JointCommand.h: interface for the JointCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_JOINTCOMMAND_H__B747B53F_4398_4B95_8293_68B0D2F545A8__INCLUDED_)
#define AFX_JOINTCOMMAND_H__B747B53F_4398_4B95_8293_68B0D2F545A8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CommandObject.h"
class Part;
class Joint;
class JointCommand : public CommandObject  
{
public:
	JointCommand(Part* pFirst, Part* pNext);
	virtual ~JointCommand();

public:
	virtual BOOL Execute();
private:
	Joint* GetJoint();

private:
	Part* m_pFirst;
	Part* m_pNext;
};

#endif // !defined(AFX_JOINTCOMMAND_H__B747B53F_4398_4B95_8293_68B0D2F545A8__INCLUDED_)
